home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / CFGMAIN.AML < prev    next >
Text File  |  1996-07-17  |  2KB  |  51 lines

  1. //--------------------------------------------------------------------
  2. // The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
  3. //
  4. // CFGMAIN.AML
  5. // Main Configuration
  6. //--------------------------------------------------------------------
  7.  
  8. include bootpath "define.aml"
  9.  
  10. // run a configuration macro for a pressed button
  11. function cfg (id)
  12.   suffix = {"color" "desk" "edit1" "edit2" "fmgr" "intnl" "ldlm"
  13.             "marg" "misc" "mouse" "open" "print"  "prom" "save"
  14.             "sort" "find" "form" "video" "style" "styl2"} [id]
  15.   if suffix then
  16.     runmacro (bootpath "cfg\\cfg" + suffix + ".x")
  17.   end
  18. end
  19.  
  20. dialog "Configuration and Setup" 73 16 "cp"
  21.  
  22. // column 1
  23. button "&Colors"               3  2 20   whenenter "cfg"
  24. button "&Desktop"              3  4 20   whenenter "cfg"
  25. button "&Edit Options 1"       3  6 20   whenenter "cfg"
  26. button "Edit Options &2"       3  8 20   whenenter "cfg"
  27. button "&File Manager"         3 10 20   whenenter "cfg"
  28. button "&International"        3 12 20   whenenter "cfg"
  29. button "&Line Delimiter"       3 14 20   whenenter "cfg"
  30.  
  31. // column 2
  32. button "&Margins and Tabs"    27  2 20   whenenter "cfg"
  33. button "Miscella&neous"       27  4 20   whenenter "cfg"
  34. button "Mo&use"               27  6 20   whenenter "cfg"
  35. button "&Open"                27  8 20   whenenter "cfg"
  36. button "&Print"               27 10 20   whenenter "cfg"
  37. button "P&rompt"              27 12 20   whenenter "cfg"
  38. button "S&ave"                27 14 20   whenenter "cfg"
  39.  
  40. // column 3
  41. button " &Sort"               51  2 20   whenenter "cfg"
  42. button " Searc&h / Replace"   51  4 20   whenenter "cfg"
  43. button " &Text Reformat"      51  6 20   whenenter "cfg"
  44. button " &Video"              51  8 20   whenenter "cfg"
  45. button " &Window Style &1"    51 10 20   whenenter "cfg"
  46. button " Window St&yle 2"     51 12 20   whenenter "cfg"
  47. button " <E&xit>"             51 14 20
  48.  
  49. // display the dialog box
  50. getdialog
  51.